//
//  WCSymbol.h
//  WabbitCode
//
//  Created by William Towe on 3/27/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>


typedef enum _WCSType {
	WCSTypeEquate,
	WCSTypeLabel,
	WCSTypeMacro,
	WCSTypeDefine
	
} WCSType;

@class WCTextFile;

@interface WCSymbol : NSObject {
	WCSType _type;
	NSString *_name;
	WCTextFile *_textFile;
	NSUInteger _lineNumber;
}
@property (readonly) WCSType type;
@property (readonly) NSString *name;
@property (readonly) NSImage *icon;
@property (readonly) WCTextFile *textFile;
@property (readonly) NSUInteger lineNumber;
@property (readonly) NSString *fileAndLocation;
@property (readonly) NSString *symbolTypeAsString;

+ (WCSymbol *)symbolWithSymbolType:(WCSType)type name:(NSString *)name file:(WCTextFile *)file lineNumber:(NSUInteger)lineNumber;
@end
